package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"ocane/controllers"
)

func init() {
    beego.Router("/", &controllers.MainController{})
    beego.Router("/user",&controllers.UserController{})
    beego.Router("/queryUserAll",&controllers.QueryUserAllController{})
    beego.Router("/addUser",&controllers.AddUserController{})
    beego.Router("/addJob",&controllers.ClassController{})
    beego.Router("/testSocket",&controllers.SocketController{})
    beego.Router("/loginUrl",&controllers.LoginUserController{})
   // beego.Router("/queryUserById",&controllers.UserController{},"QueryUserById")
   	beego.Router("/user/register",&controllers.UserRegisterController{})
    beego.Router("/content/contentList",&controllers.ContentListController{})
    beego.Router("/content/contentDetail",&controllers.ContentDetailController{})
    beego.Router("/company/getHotList",&controllers.CompanyHotListController{})
    beego.Router("/banner/bannerListByType",&controllers.BannerImageController{})
    beego.Router("/company/getCompanyList",&controllers.CompanyListController{})
}
